home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Demos
/
A.D. Software
/
OOFILE
/
Buildable, limited OOFILE
/
source
/
reports
/
oofrw.inl
< prev
Wrap
Text File
|
1996-03-13
|
2KB
|
114 lines
// COPYRIGHT 1994 A.D. Software, All rights reserved
// report-writer layer of OOFILE database
// -------------------------------------------------------
// d b R e p S i z e r
// -------------------------------------------------------
inline dbRepSizer&
dbRepSizer::title(const OOF_String& reportTitle)
{
mReportTitle = reportTitle;
return *this;
}
inline dbRepSizer&
dbRepSizer::title(const char* reportTitle)
{
mReportTitle = reportTitle;
return *this;
}
inline dbRepSizer&
dbRepSizer::pageHeight(unsigned int pageHeight)
{
mPageHeight = pageHeight;
return *this;
}
inline dbRepSizer&
dbRepSizer::pageWidth(unsigned int pageWidth)
{
mPageWidth = pageWidth;
return *this;
}
inline dbRepSizer&
dbRepSizer::leftMargin(unsigned int leftMargin)
{
mLeftMargin = leftMargin;
return *this;
}
inline dbRepSizer&
dbRepSizer::rightMargin(unsigned int rightMargin)
{
mRightMargin = rightMargin;
return *this;
}
inline dbRepSizer&
dbRepSizer::topMargin(unsigned int topMargin)
{
mTopMargin = topMargin;
return *this;
}
inline dbRepSizer&
dbRepSizer::bottomMargin(unsigned int bottomMargin)
{
mBottomMargin = bottomMargin;
return *this;
}
inline dbRepSizer&
dbRepSizer::colSepWidth(unsigned int colSepWidth)
{
mColSepWidth = colSepWidth;
return *this;
}
inline dbRepSizer&
dbRepSizer::blockVertSep(unsigned int blockVertSep)
{
mBlockVertSep = blockVertSep;
return *this;
}
// -------------------------------------------------------
// d b R e p C o l W i d t h s
// -------------------------------------------------------
// friend
/*inline dbRepColWidths&
operator<<(dbRepColWidths& lhs, unsigned int rhs)
{
lhs.append(rhs);
return lhs;
}
*/
inline dbRepColWidths&
dbRepColWidths::operator<<(unsigned int rhs)
{
append(rhs);
return *this;
}